<?php 
/* Template name: Full Width Page */ 
?>
 <?php get_header(); ?> 
 <?php
				$page_name = trim( wp_title( '', false ) );
				$page = get_page_by_title( $page_name );
			?>
<div class="page-bg" style="background-image:url(<?php echo get_post_meta( $page->ID, 'page_subtitle', true ); ?>)"><p><?php echo trim( wp_title( '', false ) ); ?></p></div>
    <!--PAGE CONTENT-->

	<div class="container">
       	<div class="clearfix">
		<div class="row"><!-- Main -->
        <div class="span12">

        <article>
<?php if ( have_posts() ) : ?>
			
				<?php while ( have_posts() ) : the_post(); ?>
					
					<!-- content -->
					<?php the_content(); ?>
					<!-- end content -->
				
				<?php endwhile; ?>
			
			<?php endif; ?> 		
            </article>

         
    </div>

        <!-- /Sidebar -->             
        </div>
        <!-- /Box1 --></div>

</div>
    <?php get_footer(); ?>